/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2021-04-23     BruceOu       the first version
 */
#ifndef _KEY_APP_H_
#define _KEY_APP_H_

#include <rtthread.h>
#include <rtdevice.h>
#include <dfs_posix.h>
#include "wavplayer.h"
#include "board.h"
#include <multi_button.h>


#define NUM_OF_SONGS    (5u)    //SD卡中存储的歌曲数目
#define MAXNUM_OF_SONGS    (7u) //允许最大的歌曲数目
#define MAXNUM_OF_DISPLAY (20u) //屏幕上一行能够显示的32*16字体的最大数目

uint8_t saia_volume_get(void);
void saia_channels_set(uint8_t channels);
void saia_volume_set(rt_uint8_t volume);

#endif /* APPLICATIONS_KEY_APP_H_ */
